-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable React transform option throwIfNamespace #8204
Enable React transform option throwIfNamespace #8204
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
5 Ignored Deployments
|
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @timneutkens and the rest of your teammates on Graphite |
🟢 Turbopack Benchmark CI successful 🟢Thanks |
✅ This change can build |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
throw_if_namespace
is true by default.
https://rustdoc.swc.rs/src/swc_ecma_transforms_react/jsx/mod.rs.html#183-226
Description
Matches behavior in Next.js: https://github.com/vercel/next.js/blob/b735c3b1ffcc482a26579ef51b9e2144db74c858/packages/next/src/build/swc/options.ts#L134
Testing Instructions